package com.yuyou.train.service.api.user.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
public class UserComment implements Serializable {
    /**
     * 业务主键
     */
    private String id;

    /**
     * 关键主键
     */
    private String foreignId;

    /**
     * 业务外键
     */
    private String parentId;

    private String lessonId;

    /**
     * 用户主键
     */
    private String userId;

    /** 用户名 */
    private String userName;

    /** 用户头像 */
    private String headImg;

    /**
     * 类型：01：感想，02：课程，03：班级，04：作业
     */
    private String type;

    private String resourceType;

    /**
     * 内容
     */
    private String content;
    
    /**
     * 打星
     */
    private Integer star;

    /**
     * 级别
     */
    private Integer level;

    /**
     * 排序（9999，9999）
     */
    private Long sort;
    
    /**
     * 来源URL
     */
    private String fromUrl;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;
    
    
    /**
     * 审核状态：0：待审核，1：通过：2不通过
     */
    private String verifyStatus;

    /** 是否点赞 */
    private Boolean ifPraise;

    /** 点攒数 */
    private Integer praise;


    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getForeignId() {
        return foreignId;
    }

    public void setForeignId(String foreignId) {
        this.foreignId = foreignId;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getLessonId() {
        return lessonId;
    }

    public void setLessonId(String lessonId) {
        this.lessonId = lessonId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getResourceType() {
        return resourceType;
    }

    public void setResourceType(String resourceType) {
        this.resourceType = resourceType;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Long getSort() {
        return sort;
    }

    public void setSort(Long sort) {
        this.sort = sort;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getStar() {
        return star;
    }

    public void setStar(Integer star) {
        this.star = star;
    }

    public String getVerifyStatus() {
		return verifyStatus;
	}

	public void setVerifyStatus(String verifyStatus) {
		this.verifyStatus = verifyStatus;
	}

	public String getFromUrl() {
		return fromUrl;
	}

	public void setFromUrl(String fromUrl) {
		this.fromUrl = fromUrl;
	}

    public Boolean getIfPraise() {
        return ifPraise;
    }

    public void setIfPraise(Boolean ifPraise) {
        this.ifPraise = ifPraise;
    }

    public Integer getPraise() {
        return praise;
    }

    public void setPraise(Integer praise) {
        this.praise = praise;
    }
}